package dto;

import exception.ValidationGroups;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 *   编辑课程基本信息参数模型
 * @author xiehaidong
 */
@Data
public class EditCourseBaseDto extends AddCourseBaseDto{
    @NotNull(message = "课程Id不能为空",groups = {ValidationGroups.update.class})
    @ApiModelProperty(value = "課程Id",required = true)
    private Long id;
}
